<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	if (session.getAttribute("LoginBean") == null) {
		response.sendRedirect(path + "/login.jsp");
	}
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<title>VOA</title>
<link href="<%=path%>/css/core.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/index.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/xTabPanel.css" rel="stylesheet"
	type="text/css" />
<link href="<%=path%>/css/xWindowPanel.css" rel="stylesheet"
	type="text/css" />
<link href="<%=path%>/css/xToolbar.css" rel="stylesheet" type="text/css" />
<link href="<%=path%>/css/form.css" rel="stylesheet" type="text/css" />
</head>
<body>
	<s:include value="/share/load.jsp">
		<s:param name="msg" value="'数据加载中...'" />
	</s:include>
	<div class="header" style="background-image:url(image/login/mainLogo.jpg); background-repeat:no-repeat;">
		<div class="logo">
		</div>
		<div class="info">
			欢迎您：
			<s:property value="#session['LoginBean'].user.realName" />
			| <a href="javascript:void(0);openChangePassword();">修改密码</a> |
			<a
				href="javascript:void(0);window.location = '<%=path%>/logout.t4m';">注销</a>
			| <a href="javascript:void(0);window.close();">退出</a>
		</div>
	</div>
	<ul class="module">
		<s:if
			test="@org.team4.util.Meta@getOperate(\"menuProduct_view\")==\"T\"">
			<li class="od">货品管理
				<ul class="module-second">
					<s:if
						test="@org.team4.util.Meta@getOperate(\"menuProductInfo_view\")==\"T\"">
						<li id="prod" class="second"><a href="javascript:void(0)">货品信息</a>
						</li>
					</s:if>
					<s:if
						test="@org.team4.util.Meta@getOperate(\"menuProductType_view\")==\"T\"">
						<li id="proType" class="second"><a href="javascript:void(0)">货品分类</a>
						</li>
					</s:if>
				</ul></li>
		</s:if>
		<s:if test="@org.team4.util.Meta@getOperate(\"menuSale_view\")==\"T\"">
			<li class="od">销售管理
				<ul class="module-second">
					<s:if
						test="@org.team4.util.Meta@getOperate(\"menuSaleInfo_view\")==\"T\"">
						<li class="second">销售信息
							<ul class="module-third">
								<s:if
									test="@org.team4.util.Meta@getOperate(\"menuSaleOrder_view\")==\"T\"">
									<li id="salesOrderTrigger"><a href="javascript:void(0)">销售订单</a>
									</li>
								</s:if>
								<s:if
									test="@org.team4.util.Meta@getOperate(\"menuSaleBackOrder_view\")==\"T\"">
									<li id="salesBackOrderTrigger"><a
										href="javascript:void(0)">销售退货</a>
									</li>
								</s:if>
							</ul></li>
					</s:if>
					<s:if
						test="@org.team4.util.Meta@getOperate(\"menuSaleCustomer_view\")==\"T\"">
						<li id="customerTrigger" class="second"><a
							href="javascript:void(0)">客户信息</a></li>
					</s:if>
					<s:if
						test="@org.team4.util.Meta@getOperate(\"menuSaleCount_view\")==\"T\"">
						<li id="salesCountTrigger" class="second"><a
							href="javascript:void(0)">销售统计</a></li>
					</s:if>
				</ul></li>
		</s:if>
		<s:if
			test="@org.team4.util.Meta@getOperate(\"menuPurchase_view\")==\"T\"">
			<li class="od">采购管理
				<ul class="module-second">
					<s:if
						test="@org.team4.util.Meta@getOperate(\"menuPurchaseInfo_view\")==\"T\"">
						<li class="second">采购信息
							<ul class="module-third">
								<s:if
									test="@org.team4.util.Meta@getOperate(\"menuPurchaseOrder_view\")==\"T\"">
									<li id="purchaseOrderTrigger"><a href="javascript:void(0)">采购订单</a>
									</li>
								</s:if>
								<s:if
									test="@org.team4.util.Meta@getOperate(\"menuArriveOrder_view\")==\"T\"">
									<li id="arriveOrderTrigger"><a href="javascript:void(0)">采购到货单</a>
									</li>
								</s:if>
							</ul></li>
					</s:if>
					<s:if
						test="@org.team4.util.Meta@getOperate(\"menuSupplier_view\")==\"T\"">
						<li id="supplierTrigger" class="second"><a
							href="javascript:void(0)">供应商信息</a></li>
					</s:if>
				</ul></li>
		</s:if>
		<s:if
			test="@org.team4.util.Meta@getOperate(\"menuStock_view\")==\"T\"">
			<li class="od">库存管理
				<ul class="module-second">
					<s:if
						test="@org.team4.util.Meta@getOperate(\"menuInStockInfo_view\")==\"T\"">
						<li class="second">入库信息
							<ul class="module-third">
								<s:if
									test="@org.team4.util.Meta@getOperate(\"menuInStockOrder_view\")==\"T\"">
									<li id="inOrderTrigger"><a href="javascript:void(0)">入库单</a>
									</li>
								</s:if>
							</ul></li>
					</s:if>
					<s:if
						test="@org.team4.util.Meta@getOperate(\"menuOutStockInfo_view\")==\"T\"">
						<li class="second">出库信息
							<ul class="module-third">
								<s:if
									test="@org.team4.util.Meta@getOperate(\"menuOutStockOrder_view\")==\"T\"">
									<li id="outOrderTrigger"><a href="javascript:void(0)">出库单</a>
									</li>
								</s:if>
							</ul></li>
					</s:if>
					<s:if
						test="@org.team4.util.Meta@getOperate(\"menuWarehouse_view\")==\"T\"">
						<li id="wareHouseTrigger" class="second"><a
							href="javascript:void(0)">仓库管理</a></li>
					</s:if>
					<s:if
						test="@org.team4.util.Meta@getOperate(\"menuStockMaintain_view\")==\"T\"">
						<li id="stockTrigger" class="second"><a
							href="javascript:void(0)">库存维护</a></li>
					</s:if>
				</ul></li>
		</s:if>
		<li class="od">日常管理
			<ul class="module-second">
				<li class="second">工作日志
					<ul class="module-third">
						<li id="b"><a href="javascript:void(0)">工作日志</a>
						</li>
						<li id="t"><a href="javascript:void(0)">标签管理</a>
						</li>
					</ul></li>
			</ul></li>
		<s:if
			test="@org.team4.util.Meta@getOperate(\"menuSystem_view\")==\"T\"">
			<li class="od">系统管理
				<ul class="module-second">
					<s:if
						test="@org.team4.util.Meta@getOperate(\"menuDictionary_view\")==\"T\"">
						<li id="dic" class="second"><a href="javascript:void(0)">字典管理</a>
						</li>
					</s:if>
					<s:if
						test="@org.team4.util.Meta@getOperate(\"menuUser_view\")==\"T\"">
						<li id="user" class="second"><a href="javascript:void(0)">员工管理</a>
						</li>
					</s:if>
					<s:if
						test="@org.team4.util.Meta@getOperate(\"menuDepartment_view\")==\"T\"">
						<li id="dept" class="second"><a href="javascript:void(0)">部门管理</a>
						</li>
					</s:if>
					<s:if
						test="@org.team4.util.Meta@getOperate(\"menuRole_view\")==\"T\"">
						<li id="ro" class="second"><a href="javascript:void(0)">角色管理</a>
						</li>
					</s:if>
					<!-- 
					<li id="sys" class="second"><a href="javascript:void(0)">系统日志</a>
					</li>
					<li id="mes" class="second"><a href="javascript:void(0)">系统消息</a>
					</li>
					<li id="ic" class="second"><a href="javascript:void(0)">内部通信</a>
					</li>
					 -->
				</ul></li>
		</s:if>
	</ul>
	<div id="main" class="main"></div>
	<div class="footer">Copyright&nbsp;&copy;&nbsp;</div>

</body>
<script src="<%=path%>/js/core.js" type="text/javascript"></script>
<script src="<%=path%>/js/jquery.js" type="text/javascript"></script>
<script src="<%=path%>/js/jquery.PrintArea.js" type="text/javascript"></script>
<script src="<%=path%>/js/index.js" type="text/javascript"></script>
<script src="<%=path%>/js/share.js" type="text/javascript"></script>
<script src="<%=path%>/js/xTabPanel.js" type="text/javascript"></script>
<script src="<%=path%>/js/xWindowPanel.js" type="text/javascript"></script>
<script src="<%=path%>/js/xToolbar.js" type="text/javascript"></script>
<script src="<%=path%>/js/xToolbar.items.js" type="text/javascript"></script>
<script src="<%=path%>/js/Draggable.js" type="text/javascript"></script>
<script src="<%=path%>/js/modules/system.js" type="text/javascript"></script>
<script src="<%=path%>/js/modules/blog.js" type="text/javascript"></script>
<script src="<%=path%>/js/modules/customer.js" type="text/javascript"></script>
<script src="<%=path%>/js/modules/salesOrder.js" type="text/javascript"></script>
<script src="<%=path%>/js/modules/supplier.js" type="text/javascript"></script>
<script src="<%=path%>/js/modules/purchaseOrder.js"
	type="text/javascript"></script>
<script src="<%=path%>/js/modules/product/productType.js"
	type="text/javascript"></script>
<script src="<%=path%>/js/modules/product/product.js"
	type="text/javascript"></script>
<script src="<%=path%>/js/modules/product/wareHouse.js"
	type="text/javascript"></script>
<script src="<%=path%>/js/modules/product/stock.js"
	type="text/javascript"></script>
<script src="<%=path%>/js/modules/arriveOrder.js" type="text/javascript"></script>
<script src="<%=path%>/js/modules/inOrder.js" type="text/javascript"></script>
<script src="<%=path%>/js/modules/outOrder.js" type="text/javascript"></script>
<script src="<%=path%>/js/modules/salesBackOrder.js"
	type="text/javascript"></script>
  <script src="<%=path%>/js/modules/backPurchase.js"
  type="text/javascript"></script>
</html>